package com.nti56.springboot.model;

import java.util.HashSet;
import java.util.Set;

import lombok.Data;

@Data
public class User extends BaseModel{

	private String userId;
	/**
	 * 用户名
	 */
	private String userName;
	
	/**
	 * 姓名
	 */
	private String realName;
	
	private String passWord;
	
	private String orgId;
	
	private Organization organization;	
	
	private Set<Role> roles = new HashSet<Role>();
	
	private Set<Role> dataRoles = new HashSet<Role>();
}
